# -*- coding:utf-8 -*-
# 
# Author:jing
# Date:2018/12/21
from abc import ABC, abstractmethod

__author__ = 'jing'


class Desc(ABC):
    @classmethod
    @abstractmethod
    def get_description(cls):
        pass

    @classmethod
    def get_src(cls):
        file = cls.__module__.replace('.', '/').replace('/desc/', '/src/') + '.py'
        with open(file) as f:
            return f.read()
